import request from '@/router/axios';

/* 查询插件数量列表 */ 
export const apiQueryCjNumListVO = (params) => {
  return request({
    url: '/api/rb-oem/oem/terminal/terminal/queryCjNumListVO',
    method: 'get',
    params
  })
}

// 列表
export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/terminal/terminal/pageCmfEq',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}

/* 聪明付商户绑定 */ 
export const apiLogonCmf = (row) => {
  return request({
    url: '/api/rb-oem/oem/terminal/terminal/logonCmf',
    method: 'post',
    params:{
      ...row
    }
  })
}

/* 聪明付设备列表查询 */ 
export const apiEqTypeListCmf = (params) => {
  return request({
    url: '/api/rb-oem/oem/terminal/terminal/eqTypeListCmf',
    method: 'get',
    params
  })
}

/* 查询聪明付插件列表 */ 
export const apiQueryV5Id = (params) => {
  return request({
    url: '/api/rb-oem/oem/terminal/terminal/queryV5Id',
    method: 'get',
    params
  })
}

/* 聪明付商户设备绑定 */ 
export const apiBindRpiTerminalCmf = (row) => {
  return request({
    url: '/api/rb-oem/oem/terminal/terminal/bindRpiTerminalCmf',
    method: 'post',
    data: row
  })
}
